package com.ruoyi.purchase.mapper;

import com.ruoyi.purchase.pojo.PurchaseReturnGoods;

import java.util.List;


/**
 * 采购退货清单Mapper接口
 *
 * @author ruoyi
 * @date 2024-11-04
 */
public interface PurchaseReturnGoodsMapper
{
    /**
     * 查询采购退货清单
     *
     * @param id 采购退货清单主键
     * @return 采购退货清单
     */
    public PurchaseReturnGoods selectPurchaseReturnGoodsById(Integer id);

    /**
     * 查询采购退货清单列表
     *
     * @param purchaseReturnGoods 采购退货清单
     * @return 采购退货清单集合
     */
    public List<PurchaseReturnGoods> selectPurchaseReturnGoodsList(PurchaseReturnGoods purchaseReturnGoods);

    /**
     * 新增采购退货清单
     *
     * @param purchaseReturnGoods 采购退货清单
     * @return 结果
     */
    public int insertPurchaseReturnGoods(PurchaseReturnGoods purchaseReturnGoods);

    /**
     * 修改采购退货清单
     *
     * @param purchaseReturnGoods 采购退货清单
     * @return 结果
     */
    public int updatePurchaseReturnGoods(PurchaseReturnGoods purchaseReturnGoods);

    /**
     * 删除采购退货清单
     *
     * @param id 采购退货清单主键
     * @return 结果
     */
    public int deletePurchaseReturnGoodsById(Integer id);

    /**
     * 批量删除采购退货清单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePurchaseReturnGoodsByIds(Integer[] ids);
}
